package com.knight.tomcat.common;

public class DefaultServlet extends AbstractServlet {


    @Override
    protected void doPost(KnightRequest request, KnightResponse response) {
        doGet(request,response);
    }

    @Override
    protected void doGet(KnightRequest request, KnightResponse response) {
        System.out.println("receive request:"+request);
        response.write(null,"404");
    }
}
